package lu.med.praxiswahl.wahlumed.client.kalender;

import java.awt.BorderLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JButton;
import javax.swing.JDialog;
import javax.swing.JPanel;
import javax.swing.JScrollPane;

import lu.med.praxiswahl.wahlumed.client.utilities.UniCode;
import lu.med.praxiswahl.wahlumed.client.wclient.Main;


public class InternetDialog extends JDialog implements ActionListener
{
    /**
     * 
     */
    private static final long serialVersionUID = 7163632553575574400L;

    public InternetDialog(Main dataManager)
    {
	super(dataManager, "Internet Terminvergabe", true);
	this.setLayout(new BorderLayout());
	JPanel buttonPanel;
	JScrollPane sp = new JScrollPane(new InternetTable(
		new InternetTableModel()));
	this.add(sp, BorderLayout.CENTER);
	buttonPanel = new JPanel();
	buttonPanel.add(new JButton("Einf" + UniCode.getue() + "gen"));
	buttonPanel.add(new JButton("Vorschlag"));
	buttonPanel.add(new JButton("L" + UniCode.getoe() + "schen"));
	this.add(buttonPanel, BorderLayout.SOUTH);
	this.pack();
	this.setVisible(true);
    }

    @Override
    public void actionPerformed(ActionEvent e)
    {

    }
}
